from django.conf.urls import re_path
from . import views

urlpatterns = [
    # 用户中心
    re_path(r'^api/v1.0/user/$', views.UserInfoView.as_view()),
    #修改用户名
    re_path(r'^api/v1.0/user/name/$', views.ChangeUsernameView.as_view()),
    #评论订单
    re_path(r'^api/v1.0/orders/(?P<order_id>\d+)/comment/$', views.EvaluationOrderView.as_view()),

]
